package com.qili.service.base.impl;

import com.qili.base.mapper.BaseMapper;
import com.qili.base.service.impl.BaseServiceImpl;
import com.qili.entity.base.BaseProgram;
import com.qili.entity.base.dto.BaseProgramDTO;
import com.qili.mapper.base.BaseProgramMapper;
import com.qili.service.base.BaseProgramService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zhaoyongke
 * @date 2021/1/13
 * @description
 */

@Service
public class BaseProgramServiceImpl  extends BaseServiceImpl<BaseProgram,String> implements BaseProgramService {
    @Autowired
    private BaseProgramMapper baseProgramMapper;
    @Override
    public BaseMapper<BaseProgram, String> getMappser() {
        return baseProgramMapper;
    }
    /**
    * @Author:zhaoyongke
    * @Description:
    * @param dto
    * @Date:15:51 2021/1/13
    */
    public List<BaseProgramDTO> selectProgramList(BaseProgramDTO dto){
        List<BaseProgramDTO>  list= baseProgramMapper.selectProgramList(dto);
        return list;
    }

}
